//
//  NSString+Regex.h
//  JKRRegularDemo
//
//  Created by Joker on 16/6/7.
//  Copyright © 2016年 Joker. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface NSString (Regex)

/// 是否是电子邮件
- (BOOL)isEmail;

/// 是否是电话号码
- (BOOL)isMobile;

/// 是否是车牌号
- (BOOL)isCarNumber;

/// 是否是车型
- (BOOL)isCarType;

/// 是否是用户名
- (BOOL)isUserName;

/// 是否是密码
- (BOOL)isPassword;

/// 是否是昵称
- (BOOL)isNickName;

/// 是否是身份证号
- (BOOL)isIdentifyCard;

@end
